package com.wuye.model;

import java.io.Serializable;
import javax.persistence.*;

@Entity
@Table(name="wuye_user")
public class User implements Serializable{
	@Id
	@Column(name = "user_id")
	private String userId;
	public String getUserId(){
		return this.userId;
	}
	public void setUserId(String arg){
		this.userId=arg;
	}

	@Column(name = "cell_phone")
	private String cellPhone;
	public String getCellPhone(){
		return this.cellPhone;
	}
	public void setCellPhone(String arg){
		this.cellPhone=arg;
	}

	@Column(name = "password")
	private String password;
	public String getPassword(){
		return this.password;
	}
	public void setPassword(String arg){
		this.password=arg;
	}

	@Column(name = "user_name")
	private String userName;
	public String getUserName(){
		return this.userName;
	}
	public void setUserName(String arg){
		this.userName=arg;
	}

	@Column(name = "desk_phone")
	private String deskPhone;
	public String getDeskPhone(){
		return this.deskPhone;
	}
	public void setDeskPhone(String arg){
		this.deskPhone=arg;
	}

	@Column(name = "room")
	private String room;
	public String getRoom(){
		return this.room;
	}
	public void setRoom(String arg){
		this.room=arg;
	}
	@Column(name = "department")
	private String department;
	@Column(name = "departmentName")
	private String departmentName;
	@Column(name = "position")
	private String position;
	@Column(name = "email")
	private String email;
	@Column(name = "weixinid")
	private String weixinid;
	/**
	 * 头像
	 */
	@Column(name = "avatar")
	private String avatar;
	/**
	 * 扩展属性
	 */
	@Column(name = "extattr")
	private String extattr;

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getPosition() {
		return position;
	}

	public void setPosition(String position) {
		this.position = position;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getWeixinid() {
		return weixinid;
	}

	public void setWeixinid(String weixinid) {
		this.weixinid = weixinid;
	}

	public String getAvatar() {
		return avatar;
	}

	public void setAvatar(String avatar) {
		this.avatar = avatar;
	}

	public String getExtattr() {
		return extattr;
	}

	public void setExtattr(String extattr) {
		this.extattr = extattr;
	}

	public String getDepartmentName() {
		return departmentName;
	}

	public void setDepartmentName(String departmentName) {
		this.departmentName = departmentName;
	}
}